package com.slm.mylibrary.base;

import android.os.Bundle;

import androidx.annotation.Nullable;

import javax.inject.Inject;

import dagger.android.AndroidInjection;

/**
 * @ProjectName: My Application
 * @Package: com.slm.mylibrary.base
 * @ClassName: BaseMvpActivity
 * @Description: java类作用描述
 * @Author: 王丹丹
 * @CreateDate: 2020/5/29 22:11
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/29 22:11
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public abstract class BaseMvpActivity<VM extends BaseViewModel> extends BaseActivity {

    @Inject
    protected VM mViewModel;


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AndroidInjection.inject(this);
    }
}
